package com.parktech.sun.domain.repository.industryservice;

import com.parktech.sun.domain.model.industryservice.IndustryService;
import com.parktech.sun.domain.model.industryservice.IndustryServiceInfoCategory;
import com.parktech.sun.domain.model.industryservice.IndustryServiceInformation;
import com.parktech.sun.domain.repository.BaseRepository;
import com.parktech.sun.domain.repository.Page;

import java.util.List;

/**
 * User: Think
 * Date: 11-1-12
 * Time: 下午10:47
 */
public interface IndustryServiceRepository extends BaseRepository<IndustryService> {

    IndustryServiceInformation getInformationById(Long industryServiceInformationId);

    void clearThenSaveOrUpdateInformation(IndustryServiceInformation industryServiceInformation);

    void saveOrUpdateInformation(IndustryServiceInformation industryServiceInformation);

    public void clearThenSaveOrUpdateCategory(IndustryServiceInfoCategory industryServiceInfoCategory);

    IndustryServiceInfoCategory getByCategoryId(Long aLong);

    void saveOrUpdateCategory(IndustryServiceInfoCategory industryCategory);

    List<IndustryServiceInformation> listTop7PolicyInfo();

    List<IndustryServiceInformation> listTop6RequirementInfo();
}
